package xyz.weizhi.rjwm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import xyz.weizhi.rjwm.entity.Dish;
import xyz.weizhi.rjwm.entity.Setmeal;
import xyz.weizhi.rjwm.entity.vo.DishDto;
import xyz.weizhi.rjwm.entity.vo.SetmealDto;

import java.util.List;

/**
 * @Author milian
 * @Date 2021/9/25 0025 18:41
 */
public interface SetmealService extends IService<Setmeal> {
    /**
     * @Author milian
     * @Description //保存套餐信息
     * @Date 8:45 2021/9/28 0028
     * @Param [setmealDto]
     * @return boolean
     **/
    public boolean saveWithDish(SetmealDto setmealDto);
    /**
     * @Author milian
     * @Description //查询套餐信息
     * @Date 8:45 2021/9/28 0028
     * @Param [id]
     * @return xyz.weizhi.rjwm.entity.vo.SetmealDto
     **/
    public SetmealDto queryWithDish(long id);
    /**
     * @Author milian
     * @Description //更新套餐信息
     * @Date 9:17 2021/9/28 0028
     * @Param [setmealDto]
     * @return boolean
     **/
    public boolean updateWithDish(SetmealDto setmealDto);

    public boolean updateWithDishByStatus(long[] ids, Integer status);

    public boolean deleteWithDish(List<Long> ids);
}
